<template>
	<div class="captcha"></div>
</template>

<script>
export default {
	name: 'GeetestCaptcha',
	props: {
		captchaConfig: {
			type: Object,
			default: {}
		}
	},
	data() {
		return {}
	},
	mounted() {
		this.$initGeetest4(
			this.captchaConfig.config,
			this.captchaConfig.handler
		)
	}
}
</script>

<style lang="scss" scoped></style>
